const pre = '/entityModelDesign';
const meta = {
    auth: true,
    menu:true
};

export default {
    path: pre,
    name: 'entityModelDesign',
    meta:{
        title: {
            'zh-CN':'实体模型设计',
            'en-US':'entity model Design'
        },
    },
    icon: 'md-options',
    children: [
        {
            path: `${pre}/rawMaterial`,
            name: "rawMaterial",
            meta: {
                ...meta,
                title: {
                    "zh-CN": "原材料模型",
                    "en-US": "rawMaterial model"
                }
            },
            children: [
                {
                    path: `${pre}/consume/rawMaterial/modelDefinition`,
                    name: "rawMaterialModel",
                    meta: {
                        ...meta,
                        title: {
                            "zh-CN": "原材料模型设计",
                            "en-US": "rawMaterial model design"
                        }
                    }
                },
                {
                    path: `${pre}/consume/rawMaterial/instanceManagement`,
                    name: "rawMaterialInstance",
                    meta: {
                        ...meta,
                        title: {
                            "zh-CN": "原材料实例管理",
                            "en-US": "rawMaterial instance management"
                        }
                    }
                }
            ]
        },
        {
            path: `${pre}/product`,
            name: "product",
            meta: {
                ...meta,
                title: {
                    "zh-CN": "产品模型",
                    "en-US": "product model"
                }
            },
            children: [
                {
                    path: `${pre}/consume/product/modelDefinition`,
                    name: "productModel",
                    meta: {
                        ...meta,
                        title: {
                            "zh-CN": "产品模型设计",
                            "en-US": "product model design"
                        }
                    }
                },
                {
                    path: `${pre}/consume/product/instanceManagement`,
                    name: "productInstance",
                    meta: {
                        ...meta,
                        title: {
                            "zh-CN": "产品实例管理",
                            "en-US": "product instance management"
                        }
                    }
                }
            ]
        },
        {
            path: `${pre}/semiProduct`,
            name: "semiProduct",
            meta: {
                ...meta,
                title: {
                    "zh-CN": "半成品模型",
                    "en-US": "semiProduct model"
                }
            },
            children: [
                {
                    path: `${pre}/consume/semiProduct/modelDefinition`,
                    name: "semiProductModel",
                    meta: {
                        ...meta,
                        title: {
                            "zh-CN": "半成品模型设计",
                            "en-US": "semiProduct model design"
                        }
                    }
                },
                {
                    path: `${pre}/consume/semiProduct/instanceManagement`,
                    name: "semiProductInstance",
                    meta: {
                        ...meta,
                        title: {
                            "zh-CN": "半成品实例管理",
                            "en-US": "semiProduct instance management"
                        }
                    }
                }
            ]
        },
        {
            path: `${pre}/sparepart`,
            name: "sparepart",
            meta: {
                ...meta,
                title: {
                    "zh-CN": "备件模型",
                    "en-US": "sparepart model"
                }
            },
            children: [
                {
                    path: `${pre}/consume/sparepart/modelDefinition`,
                    name: "sparepartModel",
                    meta: {
                        ...meta,
                        title: {
                            "zh-CN": "备件模型设计",
                            "en-US": "sparepart model design"
                        }
                    }
                },
                {
                    path: `${pre}/consume/sparepart/instanceManagement`,
                    name: "sparepartInstance",
                    meta: {
                        ...meta,
                        title: {
                            "zh-CN": "备件实例管理",
                            "en-US": "sparepart instance management"
                        }
                    }
                }
            ]
        },
        {
            path: `${pre}/consume_selfDefined`,
            name: "consume_selfDefined",
            meta: {
                ...meta,
                title: {
                    "zh-CN": "自定义消费模型",
                    "en-US": "consume_selfDefined model"
                }
            },
            children: [
                {
                    path: `${pre}/consume/consume_selfDefined/modelDefinition`,
                    name: "consume_selfDefinedModel",
                    meta: {
                        ...meta,
                        title: {
                            "zh-CN": "自定义消费模型设计",
                            "en-US": "consume_selfDefined model design"
                        }
                    }
                },
                {
                    path: `${pre}/consume/consume_selfDefined/instanceManagement`,
                    name: "consume_selfDefinedInstance",
                    meta: {
                        ...meta,
                        title: {
                            "zh-CN": "自定义消费实例管理",
                            "en-US": "consume_selfDefined instance management"
                        }
                    }
                }
            ]
        },
        {
            path: `${pre}/people`,
            name: "people",
            meta: {
                ...meta,
                title: {
                    "zh-CN": "人员模型",
                    "en-US": "people model"
                }
            },
            children: [
                {
                    path: `${pre}/resource/people/modelDefinition`,
                    name: "peopleModel",
                    meta: {
                        ...meta,
                        title: {
                            "zh-CN": "人员模型设计",
                            "en-US": "people model design"
                        }
                    }
                },
                {
                    path: `${pre}/resource/people/instanceManagement`,
                    name: "peopleInstance",
                    meta: {
                        ...meta,
                        title: {
                            "zh-CN": "人员实例管理",
                            "en-US": "people instance management"
                        }
                    }
                }
            ]
        },
        {
            path: `${pre}/equipment`,
            name: "equipment",
            meta: {
                ...meta,
                title: {
                    "zh-CN": "设备模型",
                    "en-US": "equipment model"
                }
            },
            children: [
                {
                    path: `${pre}/resource/equipment/modelDefinition`,
                    name: "equipmentModel",
                    meta: {
                        ...meta,
                        title: {
                            "zh-CN": "设备模型设计",
                            "en-US": "equipment model design"
                        }
                    }
                },
                {
                    path: `${pre}/resource/equipment/instanceManagement`,
                    name: "equipmentInstance",
                    meta: {
                        ...meta,
                        title: {
                            "zh-CN": "设备实例管理",
                            "en-US": "equipment instance management"
                        }
                    }
                }
            ]
        },
        {
            path: `${pre}/mold`,
            name: "mold",
            meta: {
                ...meta,
                title: {
                    "zh-CN": "模具模型",
                    "en-US": "mold model"
                }
            },
            children: [
                {
                    path: `${pre}/resource/mold/modelDefinition`,
                    name: "moldModel",
                    meta: {
                        ...meta,
                        title: {
                            "zh-CN": "模具模型设计",
                            "en-US": "mold model design"
                        }
                    }
                },
                {
                    path: `${pre}/resource/mold/instanceManagement`,
                    name: "moldInstance",
                    meta: {
                        ...meta,
                        title: {
                            "zh-CN": "模具实例管理",
                            "en-US": "mold instance management"
                        }
                    }
                }
            ]
        },
        {
            path: `${pre}/sensor`,
            name: "sensor",
            meta: {
                ...meta,
                title: {
                    "zh-CN": "仪表模型",
                    "en-US": "sensor model"
                }
            },
            children: [
                {
                    path: `${pre}/resource/sensor/modelDefinition`,
                    name: "sensorModel",
                    meta: {
                        ...meta,
                        title: {
                            "zh-CN": "仪表模型设计",
                            "en-US": "sensor model design"
                        }
                    }
                },
                {
                    path: `${pre}/resource/sensor/instanceManagement`,
                    name: "sensorInstance",
                    meta: {
                        ...meta,
                        title: {
                            "zh-CN": "仪表实例管理",
                            "en-US": "sensor instance management"
                        }
                    }
                }
            ]
        },
        {
            path: `${pre}/tools`,
            name: "tools",
            meta: {
                ...meta,
                title: {
                    "zh-CN": "工具模型",
                    "en-US": "tools model"
                }
            },
            children: [
                {
                    path: `${pre}/resource/tools/modelDefinition`,
                    name: "toolsModel",
                    meta: {
                        ...meta,
                        title: {
                            "zh-CN": "工具模型设计",
                            "en-US": "tools model design"
                        }
                    }
                },
                {
                    path: `${pre}/resource/tools/instanceManagement`,
                    name: "toolsInstance",
                    meta: {
                        ...meta,
                        title: {
                            "zh-CN": "工具实例管理",
                            "en-US": "tools instance management"
                        }
                    }
                }
            ]
        },
        {
            path: `${pre}/resource_selfDefined`,
            name: "resource_selfDefined",
            meta: {
                ...meta,
                title: {
                    "zh-CN": "自定义资源模型",
                    "en-US": "resource_selfDefined model"
                }
            },
            children: [
                {
                    path: `${pre}/resource/resource_selfDefined/modelDefinition`,
                    name: "resource_selfDefinedModel",
                    meta: {
                        ...meta,
                        title: {
                            "zh-CN": "自定义资源模型设计",
                            "en-US": "resource_selfDefined model design"
                        }
                    }
                },
                {
                    path: `${pre}/resource/resource_selfDefined/instanceManagement`,
                    name: "resource_selfDefinedInstance",
                    meta: {
                        ...meta,
                        title: {
                            "zh-CN": "自定义资源实例管理",
                            "en-US": "resource_selfDefined instance management"
                        }
                    }
                }
            ]
        }
    ]
}
/*
rawMaterial: {prefix: 'consume', title: '原材料', },
    product: {prefix: 'consume', title: '产品', },
    semiProduct: {prefix: 'consume', title: '半成品', },
    sparepart: {prefix: 'consume', title: '备件',},
    consume_selfDefined: {prefix: 'consume', title: '自定义消费',},

    people: {prefix: 'resource', title: '人员', },
    equipment: {prefix: 'resource', title: '设备', },
    mold: {prefix: 'resource', title: '模具', },
    sensor: {prefix: 'resource', title: '仪表', },
    tools: {prefix: 'resource', title: '工具' },
    resource_selfDefined: {prefix: 'resource', title: '自定义资源'},
 */
